package com.haihong.provider2.controller;

import com.haihong.provider2.entity.SysUser;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 人员控制层
 *
 * @author admin
 * @version 1.0  2019/8/24 16:13
 */
@RestController
@RequestMapping(value = "/user")
public class UserController {

    @RequestMapping(value = "/getInfo")
    public SysUser queryUserInfo(String userName){
        return new SysUser("235",userName,"0000000","研发部","硬件组");
    }
}
